
import request from '@/api/request'

export function findAllBrand() {
  return request({
    url: `/lejuAdmin/brand/findAllBrand`

  })
}
export function productsByPage(start, limit, data) {
  return request({
    url: `/lejuAdmin/product/productsByPage/${start}/${limit}`,
    method: 'post',
    data

  })
}
export function switchNewStatus(data) {
  return request({
    url: `/lejuAdmin/product/switchNewStatus`,
    method: 'post',
    data

  })
}
export function getAllCategory() {
  return request({
    url: `/lejuAdmin/category/getAllCategory`

  })
}
export function addProductAndSkus(data) {
  return request({
    url: `/lejuAdmin/product/addProductAndSkus`,
    method: 'post',
    data

  })
}
